/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-08-24 11:59:18
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-08-26 15:28:10
 * @FilePath: \后端管理系统\app\src\api\categories.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import {getUrl ,postUrl } from '../utils/request'


/**
 * @description: 分类参数选择项列表
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const httpCateGoriesList = async (url, params) => await getUrl(url, params);

/**
 * @description: 分类参数列表
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const httpGetCategoryParams = async (url, params) => await getUrl(url, params);


/**
 * @description: 添加分类参数列表
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const httpAddParam = async (url, params) => await postUrl(url, params);

